/*
 * @Description:  
 * @Author: YiHe
 * @Date: 2020-07-03 08:41:39
 * @LastEditors: YiHe
 * @LastEditTime: 2020-08-13 13:00:43
 */
import Vue from 'vue'
import App from './App'
import router from './router'
import uView from "uview-ui"
import { RouterMount } from 'uni-simple-router'
import until from './common/js/until.js'
import back from './components/back/back.vue'
import container from './components/container/container.vue'
import imageLoad from './components/imageLoad/imageLoad.vue'
Vue.use(uView)
App.mpType = 'app'
Vue.component("Back", back)
Vue.component("Container", container)
Vue.component("ImageLoad", imageLoad)

const app = new Vue({ ...App })
//v1.3.5起 H5端 你应该去除原有的app.$mount();使用路由自带的渲染方式
// #ifdef H5
RouterMount(app, '#app')
// #endif
// #ifndef H5
app.$mount() //为了兼容小程序及app端必须这样写才有效果
// #endif
